package com.own.component.util.excel.util.write.style.item;

import com.own.component.util.excel.util.write.style.base.AbstractStyleFunction;
import org.apache.poi.ss.usermodel.CellStyle;
import org.apache.poi.ss.usermodel.DataFormat;

/**
 * StyleItemBorderStyle
 *
 * @author chenxueli
 * @date 2023-05-11 20:58:19
 */
public class StyleItemDataFormat extends AbstractStyleFunction<DataFormat> {

    public StyleItemDataFormat(DataFormat item) {
        super(item);
    }

    /**
     * 使用样式
     *
     * @param style 样式
     */
    @Override
    public void apply(CellStyle style) {
//        style.setDataFormat(super.getItem());
    }

}
